package com.topnav.mc.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.topnav.mc.entity.base.BaseEntity;
import lombok.Data;

@Data
@TableName("mc_device_channel")
public class DeviceChannel extends BaseEntity {

    /** 通道号 */
    private String channelCode;

    private Long deviceId; //域ID

    /** 通道名 */
    private String name;
    /** 生产厂商 */
    private String manufacture;
    /** 型号 */
    private String model;
    /** 所有者*/
    private String owner;
    /** Block */
    private String block;
    /** 地址 */
    private String address;
    /** 上级*/
    private String parentId; //国标服务器ID
    /** */
    private Integer safetyWay=0;//默认0
    /** */
    private Integer registerWay=1;//默认1

    private String certNum;
    private Integer certifiable=0;//默认0

    private Integer errCode=0;//默认0
    private String endTime;
    private String secrecy;

    private String ipAddress;
    private Integer port;//默认0
    private String password;

    private Integer ptzType=0;//0未知,1球机,2半球3固定枪机4遥控枪机
    private Integer status=0;//默认0 1在线，0离线
    private Double longitude;
    private Double latitude;
    private String streamId;
    private String deviceCode;
    private String parental;
    private Boolean hasAudio=false;//有声音，无声音

    //是否已同步
    private Boolean synch=false;

    private Integer channelType = 1;//1视频通道 2报警通道
}
